package com.hq.base.consts;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import com.sun.org.apache.bcel.internal.generic.NEW;

import java.util.Date;

/**
* @author: lujie
* @create: 2021/4/14
* @description:  系统常量
**/

public interface Const {
    /**
     * 最大请求次数
     */
    Integer MAX_REQUEST_COUNT = 100;
    /**
     * 最大页数
     */
    Integer MAX_PAGE_NO = 30;
    /**
     * 支持类型top(推荐,默认)
     * guonei(国内)
     * guoji(国际)
     * yule(娱乐)
     * tiyu(体育)
     * junshi(军事)
     * keji(科技)
     * caijing(财经)
     * shishang(时尚)
     * youxi(游戏)
     * qiche(汽车)
     * jiankang(健康)
     */
    String [] NEWS_TYPES = new  String[]{
        "top","guonei","guoji","yule","tiyu",
        "junshi","keji","caijing","shishang",
        "youxi", "qiche","jiankang"
    };



    String NULL = "NULL";
    String NEWS_TYPE ="top";
    String reason ="success!";

    String NOW_YMD =  DateUtil.format(new Date(), DatePattern.NORM_DATE_PATTERN);;

    String YYYY_MM_DD ="yyyy-mm-dd";
}
